package com.lcb.thread;

public class RunableTask implements Runnable {
    public void run() {
        System.out.println("I am a child thread!");
    }

    public static void main(String[] args) {
        RunableTask task = new RunableTask();

        Thread t1 = new Thread(task);
        Thread t2 = new Thread(task);

        t1.start();
        t2.start();
    }
}
